runtime.g.m (field)
618 uses
runtime (current package)
atomic_pointer.go#L34: buf := getg().m.p.ptr().wbBuf.get2()
cgocall.go#L147: mp := getg().m
cgocall.go#L200: getg().m.winsyscall = winsyscall
cgocall.go#L315: if gp != gp.m.curg {
cgocall.go#L320: sp := gp.m.g0.sched.sp // system sp saved by cgocallback.
cgocall.go#L321: oldStack := gp.m.g0.stack
cgocall.go#L322: oldAccurate := gp.m.g0StackAccurate
cgocall.go#L323: callbackUpdateSystemStack(gp.m, sp, false)
cgocall.go#L332: checkm := gp.m
cgocall.go#L336: winsyscall := gp.m.winsyscall
cgocall.go#L351: gp.m.incgo = false
cgocall.go#L352: if gp.m.isextra {
cgocall.go#L353: gp.m.isExtraInC = false
cgocall.go#L356: osPreemptExtExit(gp.m)
cgocall.go#L367: gp.m.incgo = true
cgocall.go#L370: if gp.m.isextra && gp.m.ncgo == 0 {
cgocall.go#L373: gp.m.isExtraInC = true
cgocall.go#L376: if gp.m != checkm {
cgocall.go#L380: osPreemptExtEnter(gp.m)
cgocall.go#L385: gp.m.winsyscall = winsyscall
cgocall.go#L388: gp.m.g0.stack = oldStack
cgocall.go#L389: gp.m.g0.stackguard0 = oldStack.lo + stackGuard
cgocall.go#L390: gp.m.g0.stackguard1 = gp.m.g0.stackguard0
cgocall.go#L391: gp.m.g0StackAccurate = oldAccurate
cgocall.go#L397: if gp.m.needextram || extraMWaiters.Load() > 0 {
cgocall.go#L398: gp.m.needextram = false
cgocall.go#L423: if gp.m.ncgo == 0 {
cgocall.go#L434: if gp.m.profilehz != hz {
cgocall.go#L443: if debug.dataindependenttiming == 1 && gp.m.isextra {
cgocall.go#L451: ditStateM, ditStateG = gp.m.ditEnabled, gp.ditWanted
cgocall.go#L454: gp.m.ditEnabled = ditEnabled
cgocall.go#L478: gp.m.ditEnabled = ditStateM
cgocheck.go#L42: if gp == gp.m.g0 || gp == gp.m.gsignal {
cgocheck.go#L48: if gp.m.mallocing != 0 {
coro.go#L48: mp := gp.m
coro.go#L114: mp := gp.m
coro.go#L175: setMNoWB(&gp.m, nil)
coro.go#L223: setMNoWB(&gnext.m, mp)
debug.go#L212: if gp == gp.m.g0 || gp == gp.m.gsignal {
debug.go#L231: if gp == gp.m.g0 || gp == gp.m.gsignal {
debugcall.go#L35: if getg() != getg().m.curg {
debugcall.go#L137: mp := gp.m
debugcall.go#L193: mp := gp.m
debugcall.go#L230: gp.m.lockedg = 0
debuglog.go#L133: if gp != nil && gp.m != nil && gp.m.p != 0 {
debuglog.go#L134: l.w.varint(int64(gp.m.p.ptr().id))
dit.go#L16: g.m.ditEnabled = true
dit.go#L24: g.m.ditEnabled = false
heapdump.go#L364: dumpint(uint64(uintptr(unsafe.Pointer(gp.m))))
heapdump.go#L707: casGToWaiting(gp.m.curg, _Grunning, waitReasonDumpingHeap)
heapdump.go#L722: casgstatus(gp.m.curg, _Gwaiting, _Grunning)
iface.go#L137: if getg().m.mallocing != 0 {
lock_futex.go#L37: if gp != gp.m.g0 {
lock_futex.go#L46: gp.m.blocked = true
lock_futex.go#L51: gp.m.blocked = false
lock_futex.go#L69: gp.m.blocked = true
lock_futex.go#L74: gp.m.blocked = false
lock_futex.go#L88: gp.m.blocked = true
lock_futex.go#L93: gp.m.blocked = false
lock_futex.go#L108: if gp != gp.m.g0 && gp.m.preemptoff != "" {
lock_futex.go#L119: if gp == gp.m.g0 {
lock_futex.go#L140: mp := getg().m
lock_spinbit.go#L157: if gp.m.locks < 0 {
lock_spinbit.go#L160: gp.m.locks++
lock_spinbit.go#L172: semacreate(gp.m)
lock_spinbit.go#L195: gp.m.mLockProfile.end(startTime)
lock_spinbit.go#L201: gp.m.mLockProfile.end(startTime)
lock_spinbit.go#L234: gp.m.mWaitList.startTicks = cputicks()
lock_spinbit.go#L235: startTime = gp.m.mLockProfile.start()
lock_spinbit.go#L239: gp.m.mWaitList.next = mutexWaitListHead(v)
lock_spinbit.go#L242: next := (uintptr(unsafe.Pointer(gp.m)) &^ mutexMMask) | v&mutexMMask | mutexSleeping
lock_spinbit.go#L251: atTail = gp.m.mWaitList.next == 0 // we were at risk of starving
lock_spinbit.go#L255: gp.m.mWaitList.next = 0
lock_spinbit.go#L317: gp.m.mLockProfile.store()
lock_spinbit.go#L318: gp.m.locks--
lock_spinbit.go#L319: if gp.m.locks < 0 {
lock_spinbit.go#L322: if gp.m.locks == 0 && gp.preempt { // restore the preemption request in case we've cleared it in newstack
lock_spinbit.go#L410: getg().m.mLockProfile.recordUnlock(cycles * int64(n))
lockrank_off.go#L42: releasem(getg().m)
malloc.go#L593: vmaSize = sys.Len64(uint64(getg().m.g0.stack.hi)) + 1
malloc.go#L1190: if assistG := getg().m.curg; assistG != nil {
malloc.go#L1850: if assistG.m.curg != nil {
malloc.go#L1851: assistG = assistG.m.curg
malloc.go#L1871: if assistG.m.curg != nil { // TODO(thepudds): do we need to do this?
malloc.go#L1872: assistG = assistG.m.curg
malloc_generated.go#L167: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L332: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L497: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L662: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L827: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L992: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1157: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1322: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1487: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1652: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1817: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L1982: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2147: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2312: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2477: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2642: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2807: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L2972: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3137: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3302: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3467: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3632: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3797: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L3962: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4127: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4292: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4366: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4448: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4522: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4604: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4678: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4760: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4834: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4916: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L4990: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5072: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5146: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5228: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5302: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5384: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5458: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5540: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5614: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5696: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5770: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5852: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L5926: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6008: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6082: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6164: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6238: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6320: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6394: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6476: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6550: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6632: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6697: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6768: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6833: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6904: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L6969: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7040: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7105: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7176: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7241: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7312: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7377: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7448: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7513: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7584: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7649: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7720: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7785: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7856: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7921: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L7992: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8057: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8128: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8193: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8264: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8329: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8400: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8465: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8536: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8601: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8672: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8737: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8808: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8873: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L8944: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9009: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9080: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9145: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9216: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9281: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9352: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9417: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9488: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9553: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9624: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9689: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9760: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9825: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9896: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L9961: if assistG := getg().m.curg; assistG != nil {
malloc_generated.go#L10032: if assistG := getg().m.curg; assistG != nil {
malloc_stubs.go#L117: if assistG := getg().m.curg; assistG != nil {
mbitmap.go#L421: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L481: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L1333: getg().m.traceback = 2
mbitmap.go#L1421: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L1474: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L1946: if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
mbitmap.go#L1949: for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
mcheckmark.go#L92: getg().m.traceback = 2
mcheckmark.go#L137: gcw := &getg().m.p.ptr().gcw
mcheckmark.go#L140: wbBufFlush1(getg().m.p.ptr())
mgc.go#L318: p := getg().m.p.ptr()
mgc.go#L1081: getg().m.preemptoff = "gcing"
mgc.go#L1127: getg().m.preemptoff = ""
mgc.go#L1756: gp.m.preemptoff = "GC worker init"
mgc.go#L1764: gp.m.preemptoff = ""
mgc.go#L1827: pp := gp.m.p.ptr() // P can't change with preemption disabled.
mgcmark.go#L285: userG := getg().m.curg
mgcmark.go#L502: if getg() == gp.m.g0 {
mgcmark.go#L505: if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
mgcmark.go#L735: trackLimiterEvent := gp.m.p.ptr().limiterEvent.start(limiterEventMarkAssist, startTime)
mgcmark.go#L744: gcw := &getg().m.p.ptr().gcw
mgcmark.go#L769: pp := gp.m.p.ptr()
mgcmark.go#L940: p := getg().m.p.ptr()
mgcmark.go#L1246: gp := getg().m.curg
mgcmark.go#L1247: pp := gp.m.p.ptr()
mgcmark.go#L1403: gp := getg().m.curg
mgcmark.go#L1624: gcw := &getg().m.p.ptr().gcw
mgcmark.go#L1659: getg().m.traceback = 2
mgcmark.go#L1771: gcw := &getg().m.p.ptr().gcw
mgcmark_greenteagc.go#L798: pp := getg().m.p.ptr()
mgcpacer.go#L733: if gp == nil || gp.m == nil || gp.m.p == 0 {
mgcpacer.go#L736: myID := gp.m.p.ptr().id
mgcsweep.go#L364: gp.m.locks++
mgcsweep.go#L370: gp.m.locks--
mgcsweep.go#L448: gp.m.locks--
mgcsweep.go#L470: if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
mgcsweep.go#L509: if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
mgcsweep.go#L692: getg().m.p.ptr().trace.reclaimed += uintptr(nfreed) * s.elemsize
mgcwork.go#L548: gp := getg().m.curg
mheap.go#L1138: pp := getg().m.p.ptr()
mheap.go#L1163: pp := getg().m.p.ptr()
mheap.go#L1195: pp := getg().m.p.ptr()
mheap.go#L1238: pp := gp.m.p.ptr()
mheap.go#L1800: gp.m.mallocing++
mheap.go#L1805: gp.m.mallocing--
mprof.go#L547: if tracefpunwindoff() || gp.m.hasCgoOnStack() {
mprof.go#L548: if gp.m.curg == nil || gp.m.curg == gp {
mprof.go#L551: nstk = gcallers(gp.m.curg, skip, mp.profStack)
mprof.go#L554: if gp.m.curg == nil || gp.m.curg == gp {
mprof.go#L565: mp.profStack[0] = gp.m.curg.sched.pc
mprof.go#L566: nstk = 1 + fpTracebackPartialExpand(skip, unsafe.Pointer(gp.m.curg.sched.bp), mp.profStack[1:])
mprof.go#L756: if gp := getg(); gp.m.locks == 1 && gp.m.mLockProfile.haveStack {
mprof.go#L1468: if getg().m.p.ptr() == nil {
mprof.go#L1717: g0.m.traceback = 1
mprof.go#L1724: g0.m.traceback = 0
mstats.go#L777: if pp := getg().m.p.ptr(); pp != nil {
mstats.go#L806: if pp := getg().m.p.ptr(); pp != nil {
mwbbuf.go#L170: if getg().m.dying > 0 {
mwbbuf.go#L174: getg().m.p.ptr().wbBuf.discard()
mwbbuf.go#L181: wbBufFlush1(getg().m.p.ptr())
os_linux.go#L389: mp.gsignal.m = mp
os_linux.go#L402: getg().m.procid = uint64(gettid())
os_linux.go#L410: getg().m.procid = 0
os_linux.go#L639: mp := getg().m
os_linux.go#L792: releasem(getg().m)
os_linux.go#L855: tid := gp.m.procid
os_linux.go#L877: releasem(getg().m)
os_linux.go#L892: if gp.m.needPerThreadSyscall.Load() == 0 {
os_linux.go#L908: gp.m.needPerThreadSyscall.Store(0)
panic.go#L64: if gp != nil && gp.m != nil && gp.m.mallocing != 0 {
panic.go#L78: if gp != nil && gp.m != nil && gp.m.mallocing != 0 {
panic.go#L355: if gp.m.curg != gp {
panic.go#L460: if gp.m.curg != gp {
panic.go#L546: if gp.m.curg != gp {
panic.go#L819: if gp.m.curg != gp {
panic.go#L826: if gp.m.mallocing != 0 {
panic.go#L832: if gp.m.preemptoff != "" {
panic.go#L837: print(gp.m.preemptoff)
panic.go#L841: if gp.m.locks != 0 {
panic.go#L1425: if gp.m.throwing == throwTypeNone {
panic.go#L1426: gp.m.throwing = t
panic.go#L1521: gp.m.mallocing++
panic.go#L1525: if gp.m.locks < 0 {
panic.go#L1526: gp.m.locks = 1
panic.go#L1529: switch gp.m.dying {
panic.go#L1532: gp.m.dying = 1
panic.go#L1543: gp.m.dying = 2
panic.go#L1549: gp.m.dying = 3
panic.go#L1579: if gp != gp.m.curg {
panic.go#L1582: if gp != gp.m.g0 {
panic.go#L1586: } else if level >= 2 || gp.m.throwing >= throwTypeRuntime {
panic.go#L1676: if gp.m.incgo || findfunc(pc).valid() {
preempt.go#L107: if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
preempt.go#L196: if gp.preemptStop && gp.preempt && gp.stackguard0 == stackPreempt && asyncM == gp.m && asyncM.preemptGen.Load() == asyncGen {
preempt.go#L211: asyncM2 := gp.m
preempt.go#L371: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
preempt.go#L391: mp := gp.m
preempt_xreg.go#L80: pp := gp.m.p.ptr()
preempt_xreg.go#L119: pp := gp.m.p.ptr()
print.go#L70: mp := getg().m
print.go#L80: mp := getg().m
print.go#L100: if gp == nil || gp.writebuf == nil || gp.m.dying > 0 {
proc.go#L150: mp := getg().m
proc.go#L599: g.m.traceback = 2 // include pc and sp in stack trace
proc.go#L659: return gp.lockedm != 0 && gp.m.lockedg != 0
proc.go#L880: mcommoninit(gp.m, -1)
proc.go#L886: sigsave(&gp.m.sigmask)
proc.go#L887: initSigmask = gp.m.sigmask
proc.go#L916: mProfStackInit(gp.m)
proc.go#L1002: if gp != gp.m.g0 {
proc.go#L1535: gp.m.preemptoff = reason.String()
proc.go#L1641: casGToWaitingForSuspendG(getg().m.curg, _Grunning, waitReasonStoppingTheWorld)
proc.go#L1652: if gp.m.locks > 0 {
proc.go#L1663: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1664: gp.m.p.ptr().gcStopTime = start
proc.go#L1744: casgstatus(getg().m.curg, _Gwaiting, _Grunning)
proc.go#L1907: if gp != gp.m.g0 {
proc.go#L1926: if gp.m == &m0 {
proc.go#L1934: if fn := gp.m.mstartfn; fn != nil {
proc.go#L1938: if gp.m != &m0 {
proc.go#L1939: acquirep(gp.m.nextp.ptr())
proc.go#L1940: gp.m.nextp = 0
proc.go#L1967: notesleep(&gp.m.park)
proc.go#L1968: noteclear(&gp.m.park)
proc.go#L1982: mp := getg().m
proc.go#L2113: gp := getg().m.curg
proc.go#L2142: pp := getg().m.p.ptr()
proc.go#L2233: p := getg().m.p.ptr()
proc.go#L2278: if gp.m.p == 0 {
proc.go#L2335: mp.g0.m = mp
proc.go#L2337: if pp == gp.m.p.ptr() {
proc.go#L2341: releasem(gp.m)
proc.go#L2525: gp.m = mp
proc.go#L2587: mp := getg().m
proc.go#L2696: if g.m.g0 != g {
proc.go#L2716: return uintptr(unsafe.Pointer(getg().m))
proc.go#L2873: if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
proc.go#L2899: releasem(getg().m)
proc.go#L2903: releasem(getg().m)
proc.go#L2995: if gp.m.locks != 0 {
proc.go#L2998: if gp.m.p != 0 {
proc.go#L3001: if gp.m.spinning {
proc.go#L3006: mput(gp.m)
proc.go#L3009: acquirep(gp.m.nextp.ptr())
proc.go#L3010: gp.m.nextp = 0
proc.go#L3015: getg().m.spinning = true
proc.go#L3253: if gp.m.lockedg == 0 || gp.m.lockedg.ptr().lockedm.ptr() != gp.m {
proc.go#L3256: if gp.m.p != 0 {
proc.go#L3264: status := readgstatus(gp.m.lockedg.ptr())
proc.go#L3267: dumpgstatus(gp.m.lockedg.ptr())
proc.go#L3270: acquirep(gp.m.nextp.ptr())
proc.go#L3271: gp.m.nextp = 0
proc.go#L3280: if mp == getg().m {
proc.go#L3302: if gp.m.spinning {
proc.go#L3303: gp.m.spinning = false
proc.go#L3332: mp := getg().m
proc.go#L3343: gp.m = mp
proc.go#L3390: mp := getg().m
proc.go#L3808: p := getg().m.p.ptr()
proc.go#L3829: pp := getg().m.p.ptr()
proc.go#L4023: if !gp.m.spinning {
proc.go#L4026: gp.m.spinning = false
proc.go#L4087: pp := getg().m.p.ptr()
proc.go#L4136: mp := getg().m
proc.go#L4243: setMNoWB(&gp.m.curg.m, nil)
proc.go#L4244: setGNoWB(&gp.m.curg, nil)
proc.go#L4254: mp := getg().m
proc.go#L4308: pp := gp.m.p.ptr()
proc.go#L4355: if !canPreemptM(gp.m) {
proc.go#L4458: pp := gp.m.p.ptr()
proc.go#L4504: mp := getg().m
proc.go#L4512: gp.m = nil
proc.go#L4582: if gp == gp.m.g0 || gp == gp.m.gsignal {
proc.go#L4632: gp.m.locks++
proc.go#L4642: gp.m.syscalltick = gp.m.p.ptr().syscalltick
proc.go#L4644: pp := gp.m.p.ptr()
proc.go#L4649: gp.m.oldp.set(pp)
proc.go#L4715: gp.m.locks--
proc.go#L4761: pp := gp.m.p.ptr()
proc.go#L4763: gp.m.p = 0
proc.go#L4769: addGSyscallNoP(gp.m) // We gave up our P voluntarily.
proc.go#L4794: gp.m.locks++ // see comment in entersyscall
proc.go#L4797: gp.m.syscalltick = gp.m.p.ptr().syscalltick
proc.go#L4798: gp.m.p.ptr().syscalltick++
proc.go#L4800: addGSyscallNoP(gp.m) // We're going to give up our P.
proc.go#L4860: gp.m.locks--
proc.go#L4886: gp.m.locks++ // see comment in entersyscall
proc.go#L4925: oldp := gp.m.oldp.ptr()
proc.go#L4926: gp.m.oldp.set(nil)
proc.go#L4929: pp := gp.m.p.ptr()
proc.go#L4942: if pp.syscalltick == gp.m.syscalltick {
proc.go#L4974: pp = gp.m.p.ptr()
proc.go#L4994: gp.m.locks--
proc.go#L5011: gp.m.locks--
proc.go#L5023: gp.m.p.ptr().syscalltick++
proc.go#L5038: decGSyscallNoP(getg().m) // We got a P for ourselves.
proc.go#L5054: decGSyscallNoP(getg().m) // We got a P for ourselves.
proc.go#L5080: decGSyscallNoP(getg().m)
proc.go#L5166: gp := getg().m.curg
proc.go#L5171: gp.m.locks++
proc.go#L5172: sigsave(&gp.m.sigmask)
proc.go#L5195: gp := getg().m.curg
proc.go#L5200: msigrestore(gp.m.sigmask)
proc.go#L5202: gp.m.locks--
proc.go#L5239: msigrestore(getg().m.sigmask)
proc.go#L5301: pp := getg().m.p.ptr()
proc.go#L5603: gp.m.lockedg.set(gp)
proc.go#L5604: gp.lockedm.set(gp.m)
proc.go#L5631: gp.m.lockedExt++
proc.go#L5632: if gp.m.lockedExt == 0 {
proc.go#L5633: gp.m.lockedExt--
proc.go#L5641: getg().m.lockedInt++
proc.go#L5655: if gp.m.lockedInt != 0 || gp.m.lockedExt != 0 {
proc.go#L5658: gp.m.lockedg = 0
proc.go#L5678: if gp.m.lockedExt == 0 {
proc.go#L5681: gp.m.lockedExt--
proc.go#L5688: if gp.m.lockedInt == 0 {
proc.go#L5691: gp.m.lockedInt--
proc.go#L5788: getg().m.mallocing++
proc.go#L5846: if gp != nil && gp.m != nil && gp.m.curg != nil {
proc.go#L5847: tagPtr = &gp.m.curg.labels
proc.go#L5854: if gp != nil && gp.m != nil {
proc.go#L5855: if gp.m.curg != nil {
proc.go#L5856: gprof = gp.m.curg
proc.go#L5858: mp = gp.m
proc.go#L5859: pp = gp.m.p.ptr()
proc.go#L5863: getg().m.mallocing--
proc.go#L5877: gp.m.locks++
proc.go#L5901: gp.m.locks--
proc.go#L5965: getg().m.p.ptr().timers.take(&pp.timers)
proc.go#L6001: mp := getg().m
proc.go#L6083: if gp.m.p != 0 && gp.m.p.ptr().id < nprocs {
proc.go#L6085: gp.m.p.ptr().status = _Prunning
proc.go#L6086: gp.m.p.ptr().mcache.prepareForSweep()
proc.go#L6093: if gp.m.p != 0 {
proc.go#L6100: trace.ProcStop(gp.m.p.ptr())
proc.go#L6103: gp.m.p.ptr().m = 0
proc.go#L6105: gp.m.p = 0
proc.go#L6143: if gp.m.p.ptr() == pp {
proc.go#L6299: if gp.m.p != 0 {
proc.go#L6318: gp.m.p.set(pp)
proc.go#L6319: pp.m.set(gp.m)
proc.go#L6327: trace.ProcStop(getg().m.p.ptr())
proc.go#L6337: if gp.m.p == 0 {
proc.go#L6340: pp := gp.m.p.ptr()
proc.go#L6341: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L6342: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L6349: gp.m.p = 0
proc.go#L6788: if gp.m != mp || gp.m.p.ptr() != pp {
proc.go#L6868: if mp == nil || mp == getg().m {
proc.go#L6979: if gp.m != nil {
proc.go#L6980: print(gp.m.id)
proc.go#L7887: mp := gp.m
proc.go#L7907: gp.m.locks--
proc.go#L7947: if p := getg().m.p.ptr(); !runqempty(p) {
rand.go#L165: mp := getg().m
rand.go#L228: mp := getg().m
runtime.go#L237: if gp != nil && gp.m.dying > 0 ||
runtime1.go#L42: all = gp.m.throwing > throwTypeUser || t&tracebackAll != 0
runtime1.go#L43: if gp.m.traceback != 0 {
runtime1.go#L44: level = int32(gp.m.traceback)
runtime1.go#L45: } else if gp.m.throwing >= throwTypeRuntime {
runtime1.go#L602: gp.m.locks++
runtime1.go#L603: return gp.m
runtime2.go#L487: m *m // current m; offset known to arm liblink
rwmutex.go#L89: m := getg().m
rwmutex.go#L124: m := getg().m
secret.go#L109: releasem(getg().m)
sema.go#L148: if gp != gp.m.curg {
sema.go#L264: if s.ticket == 1 && getg().m.locks == 0 && getg() != getg().m.g0 {
signal_unix.go#L331: getg().m.profilehz = hz
signal_unix.go#L353: gp.m.preemptGen.Add(1)
signal_unix.go#L354: gp.m.signalPending.Store(0)
signal_unix.go#L439: if gp == nil || (gp.m != nil && gp.m.isExtraInC) {
signal_unix.go#L477: setg(gp.m.gsignal)
signal_unix.go#L481: setStack := adjustSignalStack(sig, gp.m, &gsignalStack)
signal_unix.go#L483: gp.m.gsignal.stktopsp = sys.GetCallerSP()
signal_unix.go#L494: atomic.Store(&gp.m.signalSecret, 1)
signal_unix.go#L650: mp := gsignal.m
signal_unix.go#L1219: if gp != nil && gp.m != nil && gp.m.curg != nil && !gp.m.isExtraInC && !gp.m.incgo {
signal_unix.go#L1334: mp := getg().m
signal_unix.go#L1355: nmask := getg().m.sigmask
signal_unix.go#L1369: if getg().m.newSigstack {
signal_unix.go#L1379: restoreGsignalStack(&getg().m.goSigStack)
signal_unix.go#L1426: old.stack = gp.m.gsignal.stack
signal_unix.go#L1427: old.stackguard0 = gp.m.gsignal.stackguard0
signal_unix.go#L1428: old.stackguard1 = gp.m.gsignal.stackguard1
signal_unix.go#L1429: old.stktopsp = gp.m.gsignal.stktopsp
signal_unix.go#L1432: gp.m.gsignal.stack.lo = stsp
signal_unix.go#L1433: gp.m.gsignal.stack.hi = stsp + st.ss_size
signal_unix.go#L1434: gp.m.gsignal.stackguard0 = stsp + stackGuard
signal_unix.go#L1435: gp.m.gsignal.stackguard1 = stsp + stackGuard
signal_unix.go#L1444: gp := getg().m.gsignal
stack.go#L349: if thisg != thisg.m.g0 {
stack.go#L380: if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
stack.go#L389: c := thisg.m.p.ptr().mcache
stack.go#L509: if stackNoCache != 0 || gp.m.p == 0 || gp.m.preemptoff != "" {
stack.go#L519: c := gp.m.p.ptr().mcache
stack.go#L679: getg().m.traceback = 2
stack.go#L913: gcController.addScannableStack(getg().m.p.ptr(), int64(newsize)-int64(old.hi-old.lo))
stack.go#L1029: if thisg.m.morebuf.g.ptr().stackguard0 == stackFork {
stack.go#L1032: if thisg.m.morebuf.g.ptr() != thisg.m.curg {
stack.go#L1033: print("runtime: newstack called from g=", hex(thisg.m.morebuf.g), "\n"+"\tm=", thisg.m, " m->curg=", thisg.m.curg, " m->g0=", thisg.m.g0, " m->gsignal=", thisg.m.gsignal, "\n")
stack.go#L1034: morebuf := thisg.m.morebuf
stack.go#L1039: gp := thisg.m.curg
stack.go#L1049: if thisg.m.curg.throwsplit {
stack.go#L1051: morebuf := thisg.m.morebuf
stack.go#L1065: thisg.m.traceback = 2 // Include runtime frames
stack.go#L1070: morebuf := thisg.m.morebuf
stack.go#L1071: thisg.m.morebuf.pc = 0
stack.go#L1072: thisg.m.morebuf.lr = 0
stack.go#L1073: thisg.m.morebuf.sp = 0
stack.go#L1074: thisg.m.morebuf.g = 0
stack.go#L1095: if !canPreemptM(thisg.m) {
stack.go#L1123: if gp == thisg.m.g0 {
stack.go#L1126: if thisg.m.p == 0 && thisg.m.locks == 0 {
stack.go#L1265: if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
stack.go#L1276: if gp == getg().m.curg && gp.m.libcallsp != 0 {
synctest.go#L201: pp := getg().m.p.ptr()
synctest.go#L213: curg := gp.m.curg
synctest.go#L214: gp.m.curg = nil
synctest.go#L216: gp.m.curg = curg
time.go#L1030: force := ts == &getg().m.p.ptr().timers && int(zombies) > int(ts.len.Load())/4
time.go#L1056: force = ts == &getg().m.p.ptr().timers && int(ts.zombies.Load()) > int(ts.len.Load())/4
time.go#L1132: tsLocal = &gp.m.p.ptr().timers
time.go#L1188: gp.racectx = gp.m.p.ptr().timers.raceCtx
trace.go#L509: me := getg().m.curg
trace.go#L526: if s.g.m != nil {
trace.go#L527: ug.mid = int64(s.g.m.procid)
trace.go#L928: getg().racectx = getg().m.curg.racectx
traceback.go#L135: if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
traceback.go#L289: if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
traceback.go#L297: gp = gp.m.curg
traceback.go#L320: gp = gp.m.curg
traceback.go#L459: if doPrint && gp.m.incgo && f.funcID == abi.FuncID_sigpanic {
traceback.go#L816: if gp.m.libcallsp != 0 {
traceback.go#L818: traceback1(gp.m.libcallpc, gp.m.libcallsp, 0, gp.m.libcallg.ptr(), 0)
traceback.go#L826: if iscgo && gp.m != nil && gp.m.ncgo > 0 && gp.syscallsp != 0 && gp.m.cgoCallers != nil && gp.m.cgoCallers[0] != 0 {
traceback.go#L833: gp.m.cgoCallersUse.Store(1)
traceback.go#L834: cgoCallers := *gp.m.cgoCallers
traceback.go#L835: gp.m.cgoCallers[0] = 0
traceback.go#L836: gp.m.cgoCallersUse.Store(0)
traceback.go#L847: if gp.m != nil && gp.m.vdsoSP != 0 {
traceback.go#L850: pc = gp.m.vdsoPC
traceback.go#L851: sp = gp.m.vdsoSP
traceback.go#L1005: if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
traceback.go#L1115: mp := getg().m
traceback.go#L1242: if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
traceback.go#L1244: if gp.m != nil {
traceback.go#L1245: print(" m=", gp.m.id, " mp=", gp.m)
traceback.go#L1298: curgp := getg().m.curg
traceback.go#L1340: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning && gp.syscallsp == 0 {
traceback.go#L1734: if panicking.Load() > 0 || getg().m.curg != getg() {
traceback.go#L1753: if panicking.Load() > 0 || getg().m.curg != getg() {
tracebuf.go#L47: if gp == gp.m.curg {
tracebuf.go#L115: if gp == gp.m.curg {
traceruntime.go#L427: gp := getg().m.curg
traceruntime.go#L428: pp := gp.m.p
tracestack.go#L33: pcBuf := getg().m.profStack
tracestack.go#L38: mp = getg().m
vgetrandom_linux.go#L116: mp := getg().m
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |